#include <iostream>

int main()
{
    int a = 10;
    int b = 20;
    (a > b? a: b) = 40;
    std::cout<<b<<std::endl;
    //printf("%d\n", b);
    return 0;
}